package com.skilltrack.enrol.model.dto;


import com.skilltrackedu.exception.ValidationGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @description 修改课程dto
 * @author LENOVO
 * @version 1.0
 * @date 2025/3/25 下午3:40
 */
@Data
@ApiModel(value="EditCourseDto", description="修改课程基本信息")
public class EditCourseDto extends AddCourseDto{
    @NotNull(message = "课程id不能为空", groups = {ValidationGroup.Update.class})
    @ApiModelProperty(value = "课程id", required = true)
    private Long id;

}